package com.resume.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @Author: 梁云亮
 * @Date: 2021/7/17 8:50
 * @Describe:简历模板：简历/模板=m/n
 */
@ApiModel(value = "简历模板：Template")
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "tb_template")
public class Template implements Serializable {
    private static final long serialVersionUID = -7415027617892756820L;
    /**
     * 编号
     */
    @TableId(value = "id", type = IdType.AUTO)
    @ApiModelProperty(value = "编号")
    private Integer id;

    /**
     * 模板名称
     */
    @TableField(value = "name")
    @ApiModelProperty(value = "模板名称")
    private String name;

    /**
     * 模板路径
     */
    @TableField(value = "path")
    @ApiModelProperty(value = "模板路径")
    private String path;

    /**
     * 状态：1正常，2
     */
    @TableField(value = "status")
    @ApiModelProperty(value = "状态：1正常，2")
    private Integer status;

    /**
     * 说明
     */
    @TableField(value = "info")
    @ApiModelProperty(value = "说明")
    private String info;
}